there is function destroy_single_object() in objects.c
(I'm talking about megapov 0.6a sources)
who can explain why it contains duplication of
destroying of bound and interior ?
there is such code (removed comments with NK):
Destroy_Object(Object->Bound);
Destroy_Interior((INTERIOR *)Object->Interior);
Destroy_Transform(Object->UV_Trans);
if (Object->Label!=NULL)
POV_FREE(Object->Label);
Destroy_Object (Object->Bound);
Destroy_Interior((INTERIOR *)Object->Interior);
?
ABX
Post a reply to this message
|